import { Component } from '@angular/core';
import { Storage } from '@ionic/storage';

@Component({
  selector: 'page-setting',
  templateUrl: 'setting.html'
})
export class SettingPage {

  constructor(private storage: Storage) { };

  ionViewDidLoad() { };

  wipeCache() {
    this.storage.clear().then(() => window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23a99b27634bc0b6&redirect_uri=http%3A%2F%2Fqqxs.justbamboo.cn%2Fvip%2Findex.html&response_type=code&scope=snsapi_base&state=vip#wechat_redirect')
  };
}
